From 12ad428238ab7330f6cb2d26726e09708a943fa6 Mon Sep 17 00:00:00 2001 From: parkrrrr Date: Wed, 14 Sep 2005 16:58:13 +0000 Subject: [PATCH] syntax errors in GCC --- gpsbabel/defs.h | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/gpsbabel/defs.h b/gpsbabel/defs.h index 0d9756e8e..a8b678bf9 100644 --- a/gpsbabel/defs.h +++ b/gpsbabel/defs.h @@ -523,17 +523,18 @@ void fatal(const char *, ...) __attribute__((noreturn)) #endif ; -void is_fatal(const int condition, const char *, ...); + +void is_fatal(const int condition, const char *, ...) #if __GNUC__ - __attribute__ ((__format__ (__printf__, 1, 2))) - __attribute__((noreturn)) + __attribute__ ((__format__ (__printf__, 2, 3))) #endif +; void warning(const char *, ...) #if __GNUC__ __attribute__ ((__format__ (__printf__, 1, 2))) #endif - ; +; ff_vecs_t *find_vec(char * const, char **); void disp_vecs(void); void exit_vecs(void); -- 2.30.2